package pojo;

public class Person {

    private int personId;
    private String perdonName;
    private String perdonAge;

//   一对一的关系，person为主表，perdonInfo作为成员变量


    @Override
    public String toString() {
        return "Person{" +
                "personId=" + personId +
                ", perdonName='" + perdonName + '\'' +
                ", perdonAge='" + perdonAge + '\'' +
                '}';
    }

    public int getPersonId() {
        return personId;
    }

    public void setPersonId(int personId) {
        this.personId = personId;
    }

    public String getPerdonName() {
        return perdonName;
    }

    public void setPerdonName(String perdonName) {
        this.perdonName = perdonName;
    }

    public String getPerdonAge() {
        return perdonAge;
    }

    public void setPerdonAge(String perdonAge) {
        this.perdonAge = perdonAge;
    }
}
